#include"runnable.h"
#include "init.h"
uint64_t runTimes[5] = {0,0,0,0,0};
void runnable1ms(void)
{
    runTimes[0]++;
}
void runnable50ms(void){
    runTimes[3]++;
}
void runnable10ms(void){
    runTimes[1]++;
}
void runnable20ms(void){
    runTimes[2]++;
}
void runnable100ms(void){
    runTimes[4]++;
}
void printMcuInfo(void)
{
    printf("Mcu run time:%lld ms\n",getCurrentTimeMillis()-mcuInitTimeMillis);
    printf("1msfun run times:%ld\n", runTimes[0]);
    printf("10msfun run times:%ld\n", runTimes[1]);
    printf("20msfun run times:%ld\n", runTimes[2]);
    printf("50msfun run times:%ld\n", runTimes[3]);
    printf("100msfun run times:%ld\n", runTimes[4]);
    //可以在这里增加自己的调试信息
}